package com.ruoyi.project.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 内容栏目对象 content_category
 * 
 * @author ruoyi
 * @date 2025-06-20
 */
public class ContentCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 栏目ID */
    private Long id;

    /** 栏目名称 */
    @Excel(name = "栏目名称")
    private String name;

    /** 栏目编码 */
    private String code;

    /** 栏目图标 */
    @Excel(name = "栏目图标")
    private String icon;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 状态(0禁用/1启用) */
    @Excel(name = "状态(0禁用/1启用)")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }

    public void setIcon(String icon) 
    {
        this.icon = icon;
    }

    public String getIcon() 
    {
        return icon;
    }

    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("code", getCode())
            .append("icon", getIcon())
            .append("sort", getSort())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .toString();
    }
}
